package com.xwb.laboratory.test;

import com.xwb.laboratory.test.spring.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @Autowired
    private MessageService messageService;

    @GetMapping("test1")
    public void test1(){
        messageService.read("001", "已读");
    }
}
